package com.junjun.ssm.service;

import com.junjun.ssm.entity.MovieEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;


import java.util.List;
@FeignClient(name = "sysTwo")

public interface ToMovieService {
    @PostMapping("movie/queryAllMovie")
    public List<MovieEntity> queryAllMovie();

    @PostMapping("movie/query")
    public String queryText();
}
